﻿namespace WH.Contracts.Dtos
{
    /// <summary>
    /// 
    /// </summary>
    public class KeyValuesListDto
    {
        /// <summary>
        /// 描述:主表主键fid -对应sys_items表中fid
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 描述:父节点id 默认为0位顶节点
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 描述:编码
        /// </summary>
        public string TypeCode { get; set; } = string.Empty;

        /// <summary>
        /// 描述:名称
        /// </summary>
        public string TypeName { get; set; } = string.Empty;

        /// <summary>
        /// 描述:icon图标地址
        /// </summary>
        public string? TypeIconUrl { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
    }
}
